package com.scujj.cs6.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "WeatherForecastWithCitiesVo", description = "未来天气与城市信息视图对象")
public class WeatherForecastWithCitiesVo {
    @Schema(description = "区县信息")
    private CitiesVo location;

    @Schema(description = "未来预报")
    private List<WeatherForecastVo> forecasts;

    public WeatherForecastWithCitiesVo (CitiesVo citiesVo) {
        this.location = citiesVo;
    }
}
